// 全局函数
$px: 320rem / (20 * $design);

// Sizing shortcuts
@mixin size($width, $height: $width) {
  width: $width * $px;
  height: $height * $px;
}

@mixin clearfix() {
  &::after {
    display: block;
    content: "";
    clear: both;
  }
}

@mixin ell() {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}